
GXX = g++
STRIP = strip
RM = rm -rf
CXXFLAGS = -std=c++11 -lmuduo_base -lmuduo_net

LIB=../lib
INCLUDE=../include
SRC = client.cpp

all:
OBJS = $(patsubst %cpp, %o, $(SRC))
BIN=autoTestMain
all:$(OBJS)
	$(GXX) $(OBJS) -o $(BIN) -I $(INCLUDE) -L $(LIB) $(CXXFLAGS)
	$(STRIP) $(BIN)

$(OBJS):%.o:%.cpp
	$(GXX) -c $< -o $@ $(CXXFLAGS) -I $(INCLUDE) -L $(LIB)

clean:
	$(RM) $(BIN) $(OBJS)

.PHONY:all clean install
